package com.east.service.project;

import com.east.bean.Project;
import com.east.utils.Pagenation;
import com.github.pagehelper.Page;

public interface ProjectService {
	/**
	 * 分页查询
	 * @param pagenation
	 * @param key
	 * @return
	 */
	Page<Project> findByPage(Pagenation pagenation,String key,String startTime ,String endTime);
	/**
	 * 保存
	 * @param project
	 * @return
	 */
	boolean saveProject(Project project);
	/**
	 * 修改
	 * @param project
	 * @return
	 */
	boolean updateProject(Project project);
	/**
	 * 删除
	 * @param project
	 * @return
	 */
	boolean delProject(Project project);
	/**
	 * 单查
	 * @param project
	 * @return
	 */
	Project findByProjectId(Project project);
	
	
}
